package cn.itsource.zcn.user.controller;

import cn.itsource.zcn.user.domain.UserAddress;
import cn.itsource.zcn.user.service.IUserAddressService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import java.util.List;


/**
 * 订单地址(UserAddress)表控制层
 *
 * @author makejava
 * @since 2021-08-26 16:04:33
 */
@RestController
@RequestMapping("")
public class UserAddressController {
    /**
     * 服务对象
     */
    @Autowired
    private IUserAddressService tUserAddressService;

    /**
     * 查询全部数据
     *
     * @return List<>
     */
    @RequestMapping("")
    public List<UserAddress> queryAll() {
        return tUserAddressService.queryAll();
    }

}
